Open
Conversation
…) and tests (#1127) * [CI] Introduce GitHub CI that builds the project on Windows and Linux (OpenCL) Also, it runs `runtests` and publishes build artifacts fix #1124 * [CI] Support for GitHub CI on macOS (OpenCL) * [CI] Set up `Release` build type for all platforms * [CI] Strip debugging symbols while compiling on Linux Otherwise, the executable is too big even in Release mode * [CI] Upload artifacts only on pushes to master It doesn't make sense to store artifacts from non-master branches * [CI] Pack necessary .dll in resulting Windows artifact * [CI] Remove `-DNO_GIT_REVISION=1` to include revision in resulting artifacts * [CI] Set up working directory for tests to run config parsing tests
…Make 4.* (#1113) These changes sync our CMake modules with the latest from swift-cmake-examples, ensuring compatibility with CMake 4.x and resolving build failures related to the Metal backend.
* Add Apache 2.0 license for Swift CMake modules The Swift CMake modules (AddSwift.cmake and InitializeSwift.cmake) in cpp/external/macos/cmake/modules are from the Swift open source project and are licensed under Apache License v2.0 with Runtime Library Exception. This commit: - Adds the full Apache 2.0 license with Runtime Library Exception to cpp/external/macos/LICENSE - Updates the main LICENSE file to reference the macos directory containing these Swift CMake modules * Update LICENSE to reference tclap-1.2.5 The tclap library was upgraded from 1.2.2 to 1.2.5 in commit b205750, but the LICENSE file was not updated to reflect this change. * Fix incorrect source repository URL in Swift CMake modules LICENSE The CMake modules are from apple/swift-cmake-examples, not apple/swift. The file headers reference swift.org/LICENSE.txt which includes the Runtime Library Exception. --------- Co-authored-by: Claude <noreply@anthropic.com>
… torch compile, autocast and new torch version fixes
…d avoid unnecessary copies (#1166)
* Use `emplace_back` instead of `push_back` for improved performance and clarity in various parts of the code. * Reserve capacity for vectors before populating elements to improve efficiency and avoid reallocations.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.